// license-header java merge-point
package edu.uoc.tfc.gui.clients.consulta;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionMapping;

/**
 * @see edu.uoc.tfc.gui.clients.consulta.ConsultaClientController
 */
public class ConsultaClientControllerImpl extends ConsultaClientController
{
    /**
     * @see edu.uoc.tfc.gui.clients.consulta.ConsultaClientController#consultaClient(org.apache.struts.action.ActionMapping, edu.uoc.tfc.gui.clients.consulta.ConsultaClientForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     */
    public final void consultaClient(ActionMapping mapping, edu.uoc.tfc.gui.clients.consulta.ConsultaClientForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        form.setClient(
            	getClientService().
            		getClient(form.getId()));        
    }

}